package com.danco.training.zaneuskaya.service;

import java.util.List;

import com.danco.training.zaneuskaya.domain.Event;
import com.danco.training.zaneuskaya.domain.User;

/**
 * @author Zaneuskaya Aliaksandra
 *
 */
public interface EventService extends EntityService<Event> {

	List<Event> getUserEventList(User user);

	void addEventParticipant(Event event, User user);

	void removeEventParticipant(Event event, User user);

	boolean isParticipant(Event event, User user);

}
